import requests
import re

url = 'https://gitee.com/lets-explode-reality/python2411'
response = requests.get(url)
html = response.text
nearest_time = re.search("<span class='timeago' datetime='(.*?)' title='(.*?)+0800'></span>",html)
nearest_commit = re.search(r"\n(.*?)次提交\n", html)
print(f"最近一次提交时间是{nearest_time.group(1)}，总共提交了{nearest_commit.group(1)}次")